package com.manage.platform.dto.query;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * YWD
 * 2025/9/23
 */
@Data
public class TaskPageQuery extends PageQuery implements Serializable {

    @Schema(description = "任务类型(SELF=个人任务, DEPARTMENT=部门任务, ALL=全校任务)")
    private String type = "SELF";

    @Schema(description = "任务名称")
    private String name;

    @Schema(description = "优先级(1=低,2=中,3=高,4=紧急)")
    private Integer priority;

//    @Schema(description = "年度")
//    private String annual;

    @Schema(description = "任务状态(-1=全部, 0=未开始,1=进行中,2=已完成,3=已延期)")
    private Integer status;

    @Schema(description = "部门ID")
    private Long organizeId;

    //当前用户ID
    @Schema(description = "当前用户ID",hidden = true)
    private Long userId;

}
